package com.cloud.point.designPattern.adapter;

/**
 * MessageType
 *
 * @author H
 * @version 1.0
 * @date 2024-03-28 14:07
 */
public enum MessageType {
    SMS("0", "sms"),
    MAIL("1", "mail"),
    DELETE("0", "default");

    private String code;
    private String type;

    MessageType(String code, String type) {
        this.code = code;
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public String getCode() {
        return code;
    }

}
